package org.brisling.oa.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;
import javax.persistence.Transient;

import org.brisling.base.domain.inf.BaseFlowDomainInf;
import org.brisling.common.ConstSysParam;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 
 * <p>Title: OADrugPurchase</p>
 * <p>Description: 后勤物资采购未超限模块实体类</p>
 * <p>Company: tongking</p>
 * @author jackson wang
 * @since 1.0
 * @version 1.0
 * @date 2016年7月8日 下午8:09:36
 */
@Entity
@Table(name=ConstSysParam.MODULE_OA_LOGISTICSPURCHASE_LESS)
public class OALogisticsPurchaseLess extends BaseOADomain implements BaseFlowDomainInf{

	
	
	//具体事项(父类name)
	
	//填表日期
//	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
//	private Date apply_date;
	
	//申购科室（父类apply_deptid）	

	@Transient
	private String purchase_object;
	
	@Transient
	private String exist_object;
	
	//科室负责人审核（父类dept_audit,dept_content）
	

	public String getPurchase_object() {
		return purchase_object;
	}

	public void setPurchase_object(String purchase_object) {
		this.purchase_object = purchase_object;
	}

	public String getExist_object() {
		return exist_object;
	}

	public void setExist_object(String exist_object) {
		this.exist_object = exist_object;
	}

	
	
	//科室申购理由(父类apply_content)	

	//物资分管院长审批 父类（chargeLeader_content）
	
	//科室分管领导审核   父类（biz_content）
	
	//总务科审核
	@Column(length=500)
	private String chargedept_content;

	//预估费用
	@Column
	private Double pre_price;
	
	
	
	//采购招标
    private String tender_content;
	
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date tender_time;
	
	private String tender_name;
	
	private String tender_id;
	
	//审计科审核
    private String section_content;
	
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date section_time;
	
	private String section_name;
	
	private String section_id;
	
	//纪检监察室审核
    private String discipline_content;
	
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date discipline_time;
	
	private String discipline_name;
	
	private String discipline_id;
	
	
	//采购验收
    private String check_content;
	
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date check_time;
	
	private String check_name;
	
	private String check_id;
	
	//采购入库
    private String storage_content;
	
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date storage_time;
	
	private String storage_name;
	
	private String storage_id;


	//附件
	@Column(length=200)
	private String add_file;

	

	public String getChargedept_content() {
		return chargedept_content;
	}

	public void setChargedept_content(String chargedept_content) {
		this.chargedept_content = chargedept_content;
	}

	public Double getPre_price() {
		return pre_price;
	}

	public void setPre_price(Double pre_price) {
		this.pre_price = pre_price;
	}

	

	public String getAdd_file() {
		return add_file;
	}

	public void setAdd_file(String add_file) {
		this.add_file = add_file;
	}


	public String getTender_content() {
		return tender_content;
	}

	public void setTender_content(String tender_content) {
		this.tender_content = tender_content;
	}

	public Date getTender_time() {
		return tender_time;
	}

	public void setTender_time(Date tender_time) {
		this.tender_time = tender_time;
	}

	public String getTender_name() {
		return tender_name;
	}

	public void setTender_name(String tender_name) {
		this.tender_name = tender_name;
	}

	public String getTender_id() {
		return tender_id;
	}

	public void setTender_id(String tender_id) {
		this.tender_id = tender_id;
	}

	public String getSection_content() {
		return section_content;
	}

	public void setSection_content(String section_content) {
		this.section_content = section_content;
	}

	public Date getSection_time() {
		return section_time;
	}

	public void setSection_time(Date section_time) {
		this.section_time = section_time;
	}

	public String getSection_name() {
		return section_name;
	}

	public void setSection_name(String section_name) {
		this.section_name = section_name;
	}

	public String getSection_id() {
		return section_id;
	}

	public void setSection_id(String section_id) {
		this.section_id = section_id;
	}

	public String getDiscipline_content() {
		return discipline_content;
	}

	public void setDiscipline_content(String discipline_content) {
		this.discipline_content = discipline_content;
	}

	public Date getDiscipline_time() {
		return discipline_time;
	}

	public void setDiscipline_time(Date discipline_time) {
		this.discipline_time = discipline_time;
	}

	public String getDiscipline_name() {
		return discipline_name;
	}

	public void setDiscipline_name(String discipline_name) {
		this.discipline_name = discipline_name;
	}

	public String getDiscipline_id() {
		return discipline_id;
	}

	public void setDiscipline_id(String discipline_id) {
		this.discipline_id = discipline_id;
	}

	public String getCheck_content() {
		return check_content;
	}

	public void setCheck_content(String check_content) {
		this.check_content = check_content;
	}

	public Date getCheck_time() {
		return check_time;
	}

	public void setCheck_time(Date check_time) {
		this.check_time = check_time;
	}

	public String getCheck_name() {
		return check_name;
	}

	public void setCheck_name(String check_name) {
		this.check_name = check_name;
	}

	public String getCheck_id() {
		return check_id;
	}

	public void setCheck_id(String check_id) {
		this.check_id = check_id;
	}

	public String getStorage_content() {
		return storage_content;
	}

	public void setStorage_content(String storage_content) {
		this.storage_content = storage_content;
	}

	public Date getStorage_time() {
		return storage_time;
	}

	public void setStorage_time(Date storage_time) {
		this.storage_time = storage_time;
	}

	public String getStorage_name() {
		return storage_name;
	}

	public void setStorage_name(String storage_name) {
		this.storage_name = storage_name;
	}

	public String getStorage_id() {
		return storage_id;
	}

	public void setStorage_id(String storage_id) {
		this.storage_id = storage_id;
	}

	
	
	

	
}